package com.gel.shortLink.dao.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gel.shortLink.dao.entity.LinkDO;
import com.gel.shortLink.dto.req.ShortLinkPageReqDTO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
* @author MJB_Computer
* @description 针对表【t_link_0】的数据库操作Mapper
* @createDate 2025-07-08 19:54:46
* @Entity generator.dao/entity.LinkDO
*/
public interface LinkDOMapper extends BaseMapper<LinkDO> {


    void incrementStats(@Param("gid") String gid,
                        @Param("fullShortUrl") String fullShortUrl,
                        @Param("pv") int pv,
                        @Param("uv") int uv,
                        @Param("uip") int uip);

    IPage<LinkDO> pagLink(ShortLinkPageReqDTO requestParam);
}




